package com.joysuch.wwyt.api.mh.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class MhPlatformBean implements Serializable {

    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("平台名称")
    private String name;

    @ApiModelProperty("更新频率")
    private Integer frequency;

    @ApiModelProperty("传输方式id:1DB,2Rest,3Socket")
    private Integer transmissionModeId;
    @ApiModelProperty("传输方式名称")
    private String transmissionModeName;

    @ApiModelProperty("账号")
    private String account;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("IP库名")
    private String ipLibraryName;

    @ApiModelProperty("表名称")
    private String tableName;

    @ApiModelProperty("URL地址")
    private String url;

    @ApiModelProperty("加密方式:数据字典id")
    private Long encryptionType;

    @ApiModelProperty("加密方式:数据字典名称")
    private String encryptionTypeName;

    @ApiModelProperty("字段集合")
    List<MhPlatformFieldBean> fieldBeanList;
}
